<?php

namespace app\admin\model\short\chain;

use think\Model;


class Statics extends Model
{

    

    

    // 表名
    protected $name = 'short_chain_statics';
    
    // 自动写入时间戳字段
    protected $autoWriteTimestamp = 'integer';

    // 定义时间戳字段名
    protected $createTime = 'createtime';
    protected $updateTime = false;
    protected $deleteTime = false;

    // 追加属性
    protected $append = [

    ];


    public function domain()
    {
        return $this->belongsTo('Domain', 'domain_id', 'Id', [], 'LEFT')->setEagerlyType(0);
    }
    public function group()
    {
        return $this->belongsTo('Group', 'group_id', 'Id', [], 'LEFT')->setEagerlyType(0);
    }
    public function config()
    {
        return $this->belongsTo('Config', 'short_chain_id', 'Id', [], 'LEFT')->setEagerlyType(0);
    }




    

    







}
